package com.homework.ch04;

public class Test05 {

    public static void main(String[] args) {
        int[] arr1 = {1,2,3};
        for (int num : arr1){
            num = 4;
        }
        System.out.println("输出："+arr1[0]);
    }

}
